package com.itheima.stock.pojo.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * 定义股票相关值对象封装
 */
@ApiModel(description = "定义股票相关值对象封装")
@ConfigurationProperties(prefix = "stock")
@Data
public class StockInfoConfig {
    // A股大盘ID集合
    @ApiModelProperty(value = "A股大盘ID集合", position = 1)
    private List<String> inner;
    // 外盘ID集合
    @ApiModelProperty(value = "外盘ID集合", position = 2)
    private List<String> outer;
    // 股票涨幅标题区间集合
    @ApiModelProperty(value = "股票涨幅标题区间集合", position = 3)
    private List<String> upDownRange;

    /**
     * 大盘外盘个股的公共URL
     */
    @ApiModelProperty(value = "大盘外盘个股的公共URL", position = 4)
    private String marketUrl;

    /**
     * 板块采集Url
     */
    @ApiModelProperty(value = "板块采集Url", position = 5)
    private String blockUrl;
}
